package T01_test_all.test11_String;

import java.util.Scanner;

public class string02_login {
    public static void main(String[] args) {
        //定义
        String rightUserName = "xiaohu";
        String rightPassword = "123456";

        Scanner sc = new Scanner(System.in);
        String username = sc.next();
        String password = sc.next();

        if(username.equals(rightUserName) && password.equals(rightPassword)){
            System.out.println("登录成功");
        }else {
            System.out.println("用户名或密码错误");
        }

    }
}
